#include"../Client/Rpc_client.hpp"



int main()
{
    zgwrpc::client::Topic_client client("127.0.0.1",7070);
    //
    bool ret = client.Create("原神");
    if(!ret)
    {
        LOG(LogLevel::ERROR)<<"主题创建失败";
    }

    client.OnPublish("原神","我想完原神");

    std::this_thread::sleep_for(std::chrono::seconds(10));

    return 0;
}